package com.kabuda.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * 
 * @TableName article
 */
@TableName(value ="article")
@Data
public class Article implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 
     */
    private String title;

    /**
     * 
     */
    private Long authorId;

    /**
     * 
     */
    private Long categoryId;

    /**
     * 评论量
     */
    private Integer commentCount;

    /**
     * 观看量
     */
    private Integer viewCount;

    /**
     * 
     */
    private Date createTime;

    /**
     * 
     */
    private String contentMd;

    /**
     * 
     */
    private String contentHtml;

    /**
     * 总结
     */
    private String summary;

    /**
     * 封面
     */
    private String cover;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}